Termination w.r.t. Q of the following Term Rewriting System could not be shown:
Q restricted rewrite system:
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
Q is empty.
↳ QTRS
↳ Non-Overlap Check
Q restricted rewrite system:
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
Q is empty.
The TRS is non-overlapping. Hence, we can switch to innermost.
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
Q restricted rewrite system:
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
The set Q consists of the following terms:
eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
or2(true, x0)
or2(false, x0)
union2(empty, x0)
union2(edge3(x0, x1, x2), x3)
reach4(x0, x1, empty, x2)
reach4(x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(false, x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(false, x0, x1, edge3(x2, x3, x4), x5)
Q DP problem:
The TRS P consists of the following rules:
REACH4(x, y, edge3(u, v, i), h) -> IF_REACH_15(eq2(x, u), x, y, edge3(u, v, i), h)
IF_REACH_15(false, x, y, edge3(u, v, i), h) -> REACH4(x, y, i, edge3(u, v, h))
UNION2(edge3(x, y, i), h) -> UNION2(i, h)
EQ2(s1(x), s1(y)) -> EQ2(x, y)
IF_REACH_15(true, x, y, edge3(u, v, i), h) -> EQ2(y, v)
IF_REACH_15(true, x, y, edge3(u, v, i), h) -> IF_REACH_25(eq2(y, v), x, y, edge3(u, v, i), h)
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> REACH4(x, y, i, h)
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> UNION2(i, h)
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> OR2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> REACH4(v, y, union2(i, h), empty)
REACH4(x, y, edge3(u, v, i), h) -> EQ2(x, u)
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
The set Q consists of the following terms:
eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
or2(true, x0)
or2(false, x0)
union2(empty, x0)
union2(edge3(x0, x1, x2), x3)
reach4(x0, x1, empty, x2)
reach4(x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(false, x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(false, x0, x1, edge3(x2, x3, x4), x5)
We have to consider all minimal (P,Q,R)-chains.
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
Q DP problem:
The TRS P consists of the following rules:
REACH4(x, y, edge3(u, v, i), h) -> IF_REACH_15(eq2(x, u), x, y, edge3(u, v, i), h)
IF_REACH_15(false, x, y, edge3(u, v, i), h) -> REACH4(x, y, i, edge3(u, v, h))
UNION2(edge3(x, y, i), h) -> UNION2(i, h)
EQ2(s1(x), s1(y)) -> EQ2(x, y)
IF_REACH_15(true, x, y, edge3(u, v, i), h) -> EQ2(y, v)
IF_REACH_15(true, x, y, edge3(u, v, i), h) -> IF_REACH_25(eq2(y, v), x, y, edge3(u, v, i), h)
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> REACH4(x, y, i, h)
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> UNION2(i, h)
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> OR2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> REACH4(v, y, union2(i, h), empty)
REACH4(x, y, edge3(u, v, i), h) -> EQ2(x, u)
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
The set Q consists of the following terms:
eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
or2(true, x0)
or2(false, x0)
union2(empty, x0)
union2(edge3(x0, x1, x2), x3)
reach4(x0, x1, empty, x2)
reach4(x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(false, x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(false, x0, x1, edge3(x2, x3, x4), x5)
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph contains 3 SCCs with 4 less nodes.
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPAfsSolverProof
↳ QDP
↳ QDP
Q DP problem:
The TRS P consists of the following rules:
UNION2(edge3(x, y, i), h) -> UNION2(i, h)
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
The set Q consists of the following terms:
eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
or2(true, x0)
or2(false, x0)
union2(empty, x0)
union2(edge3(x0, x1, x2), x3)
reach4(x0, x1, empty, x2)
reach4(x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(false, x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(false, x0, x1, edge3(x2, x3, x4), x5)
We have to consider all minimal (P,Q,R)-chains.
By using an argument filtering and a montonic ordering, at least one Dependency Pair of this SCC can be strictly oriented.
UNION2(edge3(x, y, i), h) -> UNION2(i, h)
Used argument filtering: UNION2(x1, x2) = x1
edge3(x1, x2, x3) = edge1(x3)
Used ordering: Quasi Precedence:
trivial
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPAfsSolverProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
Q DP problem:
P is empty.
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
The set Q consists of the following terms:
eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
or2(true, x0)
or2(false, x0)
union2(empty, x0)
union2(edge3(x0, x1, x2), x3)
reach4(x0, x1, empty, x2)
reach4(x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(false, x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(false, x0, x1, edge3(x2, x3, x4), x5)
We have to consider all minimal (P,Q,R)-chains.
The TRS P is empty. Hence, there is no (P,Q,R) chain.
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPAfsSolverProof
↳ QDP
Q DP problem:
The TRS P consists of the following rules:
EQ2(s1(x), s1(y)) -> EQ2(x, y)
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
The set Q consists of the following terms:
eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
or2(true, x0)
or2(false, x0)
union2(empty, x0)
union2(edge3(x0, x1, x2), x3)
reach4(x0, x1, empty, x2)
reach4(x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(false, x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(false, x0, x1, edge3(x2, x3, x4), x5)
We have to consider all minimal (P,Q,R)-chains.
By using an argument filtering and a montonic ordering, at least one Dependency Pair of this SCC can be strictly oriented.
EQ2(s1(x), s1(y)) -> EQ2(x, y)
Used argument filtering: EQ2(x1, x2) = x2
s1(x1) = s1(x1)
Used ordering: Quasi Precedence:
trivial
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPAfsSolverProof
↳ QDP
↳ PisEmptyProof
↳ QDP
Q DP problem:
P is empty.
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
The set Q consists of the following terms:
eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
or2(true, x0)
or2(false, x0)
union2(empty, x0)
union2(edge3(x0, x1, x2), x3)
reach4(x0, x1, empty, x2)
reach4(x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(false, x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(false, x0, x1, edge3(x2, x3, x4), x5)
We have to consider all minimal (P,Q,R)-chains.
The TRS P is empty. Hence, there is no (P,Q,R) chain.
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
Q DP problem:
The TRS P consists of the following rules:
REACH4(x, y, edge3(u, v, i), h) -> IF_REACH_15(eq2(x, u), x, y, edge3(u, v, i), h)
IF_REACH_15(false, x, y, edge3(u, v, i), h) -> REACH4(x, y, i, edge3(u, v, h))
IF_REACH_15(true, x, y, edge3(u, v, i), h) -> IF_REACH_25(eq2(y, v), x, y, edge3(u, v, i), h)
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> REACH4(x, y, i, h)
IF_REACH_25(false, x, y, edge3(u, v, i), h) -> REACH4(v, y, union2(i, h), empty)
The TRS R consists of the following rules:
eq2(0, 0) -> true
eq2(0, s1(x)) -> false
eq2(s1(x), 0) -> false
eq2(s1(x), s1(y)) -> eq2(x, y)
or2(true, y) -> true
or2(false, y) -> y
union2(empty, h) -> h
union2(edge3(x, y, i), h) -> edge3(x, y, union2(i, h))
reach4(x, y, empty, h) -> false
reach4(x, y, edge3(u, v, i), h) -> if_reach_15(eq2(x, u), x, y, edge3(u, v, i), h)
if_reach_15(true, x, y, edge3(u, v, i), h) -> if_reach_25(eq2(y, v), x, y, edge3(u, v, i), h)
if_reach_25(true, x, y, edge3(u, v, i), h) -> true
if_reach_25(false, x, y, edge3(u, v, i), h) -> or2(reach4(x, y, i, h), reach4(v, y, union2(i, h), empty))
if_reach_15(false, x, y, edge3(u, v, i), h) -> reach4(x, y, i, edge3(u, v, h))
The set Q consists of the following terms:
eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
or2(true, x0)
or2(false, x0)
union2(empty, x0)
union2(edge3(x0, x1, x2), x3)
reach4(x0, x1, empty, x2)
reach4(x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(true, x0, x1, edge3(x2, x3, x4), x5)
if_reach_25(false, x0, x1, edge3(x2, x3, x4), x5)
if_reach_15(false, x0, x1, edge3(x2, x3, x4), x5)
We have to consider all minimal (P,Q,R)-chains.